package code.snippet.demo

import code.snippet.{LiftComponentSnippet, RenderSnippet}
import scala.xml.NodeSeq
import bs.{Divider, Link, DropdownMenu, Dropdown}

object DropdownMenuDemo extends LiftComponentSnippet[Dropdown] {
  override val component = Dropdown("菜单", DropdownMenu(
    Link("链接", "/"),
    Divider,
    Dropdown("子菜单", DropdownMenu(
      Link("子链接", "/")
    ))))

}
